﻿<%@ Page Language="C#" MasterPageFile="~/Layouts/Form.Master" AutoEventWireup="true"
    Inherits="HHMMS.UI.Modules.PlanManager.PurchasePlanDocEdit" CodeBehind="PurchasePlanDocEdit.aspx.cs" %>

<asp:Content ContentPlaceHolderID="head" ID="idFormTitle" runat="server">
    <title><%=Request["title"]%></title>
</asp:Content>
<asp:Content ContentPlaceHolderID="Content" ID="idFormMain" runat="server">
    <!-- 页面头部 -->
    <div class="header">
	    <h1><%=Request["title"]%></h1>
    </div>    
    <div id="container" runat="server">
        <asp:TextBox ID="tbDocId" Name="DocId" runat="server" Width="80%"
                        Visible="false"></asp:TextBox>
        <table cellpadding="2" cellspacing="1" width="100%" class="formitem">
            <caption><%=Request["title"]%></caption>
            <tr>
                <th>
                    标题:                </th>
                <td>
                    <asp:TextBox ID="tbTitle" Name="Title" runat="server" Width="80%"
                        validator="length[1,50]" ></asp:TextBox>
                </td>
                <th>
                    申请人:                </th>
                <td>
                    <asp:TextBox ID="tbCreator" Name="Creator" runat="server" Width="80%"
                        validator="length[1,20]" ></asp:TextBox>
                </td>
            </tr>  
            <tr>
                <th>
                    申请人Id:                </th>
                <td>
                    <asp:TextBox ID="tbCreatorId" Name="CreatorId" runat="server" Width="80%"
                        validator="length[1,36]" ></asp:TextBox>
                </td>
				<th>
                    申请时间:                </th>
                <td>
                    <web:DatePicker ID="dpCreateTime" Name="CreateTime" runat="server" ShowTrigger="true" ></web:DatePicker>
                </td>
            </tr>  
            <tr>
				<th>
                    审批通过时间:                </th>
                <td>
                    <web:DatePicker ID="dpPassTime" Name="PassTime" runat="server" ShowTrigger="true" ></web:DatePicker>
                </td>
				<th>
                    作废时间:                </th>
                <td>
                    <web:DatePicker ID="dpDiscardTime" Name="DiscardTime" runat="server" ShowTrigger="true" ></web:DatePicker>
                </td>
            </tr>  
            <tr>
                <th>
                    流程编号:                </th>
                <td>
                    <asp:TextBox ID="tbWFInstanceId" Name="WFInstanceId" runat="server" Width="80%"
                        validator="length[1,20]" ></asp:TextBox>
                </td>
                <th>
                    状态:                </th>
                <td>
                    <asp:TextBox ID="tbStatus" Name="Status" runat="server" Width="80%"
                         ></asp:TextBox>
                </td>
            </tr>
        </table>            
    </div>
    
    <!-- 页脚区域 -->
    <div class="footer">
        <asp:Button ID="btnSave" runat="server" Text="确定" OnClientClick="return validateForm();" onclick="SaveOrUpdatePurchasePlanDoc"/>                
        <asp:Button ID="btnClose" runat="server" Text="关闭" OnClientClick="return closeForm();" />          
    </div>
    
</asp:Content>

    
